package com.bjpowernode.crm.settings.mapper;

import com.bjpowernode.crm.settings.domain.DicValue;

import java.util.List;

public interface DicValueMapper {

    int insertSelective(DicValue record);

    int updateByPrimaryKeySelective(DicValue record);

    //添加字典值
    int insert(DicValue dicValue);
    //根据主键进行删除
    int deleteByPrimaryKey(String[] ids);
    //修改
    int updateByPrimaryKey(DicValue record);
    //根据主键进行查找
    DicValue selectByPrimaryKey(String id);
    //查找全部数据
    List<DicValue> selectAll();
    //根据字典类型的值查找字典值
    List<DicValue> selectByTypeCode(String typeCode);
}